#!/usr/bin/env python
# -*- coding:utf-8 -*-

# file:homework2_9.py
# author:wmf
# datetime:2021/4/5 0:04
# software: PyCharm
'''
this is function description
'''
# import module your need

# 9  定义一个函数，函数接收一个数组，并把数组里面的数据从小到大排序
# (冒泡排序,  也可以直接使用相关的函数);

from random import randint

def Sort(list1):
    list1.sort()
    return list1

li = [randint(1,100) for _ in range(10)]
print(li)
print(Sort(li))
